package com.space.product.domain.info.service;

import com.space.product.domain.info.entity.ProductInfo;
import com.space.product.domain.info.repository.ProductInfoRepository;
import com.space.product.domain.info.valueobject.ProductId;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

@Service
public class ProductInfoDomainService {
    @Autowired
    ProductInfoRepository productInfoRepository;

    public Mono<ProductInfo> getProductInfo(ProductId id) {
        return Mono.defer(() -> Mono.just(ProductInfo.builder().build()));
    }
}
